package com.itcoon.cloud.framework.enums;


import com.fasterxml.jackson.annotation.JsonValue;

public interface CodeEnum<E extends Enum<E>> extends BasicEnum<Integer, E> {

    @JsonValue
    default int getValue(){
        return value();
    }
}
